package com.bw.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class User {


    private Integer id;
    @NotBlank(message = "用户名不为空")
    private String name;
    @NotBlank(message = "密码不为空")
    private String password;
    private String salt;
    private String nickName;
    private String avatarUrl;
    private Integer giteeId;
}
